KiiCloudStorageSDK : KiiCorp.Cloud.Storage Namespace

KiiACLEntry<T,U> Generic Class

Provides APIs to add/remove ACL entry.

Syntax

public class KiiACLEntry<T, U>
where T : KiiCorp.Cloud.Storage.AccessControllable

Type Parameters

T
Must be KiiCorp.Cloud.Storage.KiiBucket, KiiCorp.Cloud.Storage.KiiObject
U
Enum of ACL Actions

Remarks

Developers don't need to instantiate by themselves. Please call KiiACL.Subject(KiiSubject) API.

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

Members

See Also: Inherited members from object.

Public Properties

[read-only]
Action U . Gets the action of this entry.
[write-only]
Parent KiiACL<T, U> . Sets the parent object.
[read-only]
Subject KiiSubject . Gets the subject.

Public Methods

override
Equals (object) : bool
Determines whether the specified . is equal to the current KiiCorp.Cloud.Storage.KiiACLEntry.
override
GetHashCode () : int
Serves as a hash function for a KiiCorp.Cloud.Storage.KiiACLEntry object.
Save (ACLOperation)
Save this ACL entry.
Save (ACLOperation, KiiACLCallback<T, U>)
Save this ACL entry.

Member Details

Action Property

Gets the action of this entry.

Syntax

public U Action { get; }

Value

The action.

Remarks

Developers don't need to use this property.

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

Equals Method

Determines whether the specified . is equal to the current KiiCorp.Cloud.Storage.KiiACLEntry.

Syntax

public override bool Equals (object that)

Parameters

that
Documentation for this section has not yet been entered.

Returns

true if the specified . is equal to the current KiiCorp.Cloud.Storage.KiiACLEntry; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

GetHashCode Method

Serves as a hash function for a KiiCorp.Cloud.Storage.KiiACLEntry object.

Syntax

public override int GetHashCode ()

Returns

A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

Parent Property

Sets the parent object.

Syntax

public KiiACL<T, U> Parent { set; }

Value

The parent ACL instance.

Remarks

Developers don't need to use this property.

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

Save Method

Save this ACL entry.

Syntax

public void Save (ACLOperation operation)

Parameters

operation
ACL operation. See KiiCorp.Cloud.Storage.ACLOperation

Remarks

Saving this ACL entry throws KiiCorp.Cloud.Storage.CloudException if KiiCorp.Cloud.Storage.KiiTopicACL has been created with KiiCorp.Cloud.Storage.KiiAnonymousUser and KiiCorp.Cloud.Storage.TopicAction.

If operation is REVOKE and there is no entry in KiiCloud, KiiCloud will send error response.

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

Save Method

Save this ACL entry.

Syntax

public void Save (ACLOperation operation, KiiACLCallback<T, U> callback)

Parameters

operation
ACL operation. See KiiCorp.Cloud.Storage.ACLOperation
callback
Callback.

Remarks

Subscribe or send message to topic is not supported for KiiCorp.Cloud.Storage.KiiAnonymousUser. Saving this ACL entry throws KiiCorp.Cloud.Storage.CloudException if KiiCorp.Cloud.Storage.KiiTopicACL has been created with KiiCorp.Cloud.Storage.KiiAnonymousUser and KiiCorp.Cloud.Storage.TopicAction.

If operation is REVOKE and there is no entry in KiiCloud, KiiCloud will send error response.

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

Subject Property

Gets the subject.

Syntax

public KiiSubject Subject { get; }

Value

The subject.

Remarks

Developers don't need to use this property.

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0